/*
 * @Author: chenxuan
 * @Date: 2022-06-08 14:07:46
 * @LastEditTime: 2022-06-08 14:31:43
 * @LastEditors: chenxuan
 */
import Vue from "vue";
import locale from 'element-ui/lib/locale';
// import locale from '../../static/vendor/elementui/lib/locale';
import VueI18n from 'vue-i18n'
import messages from './langs'
Vue.use(VueI18n)
const i18n = new VueI18n({
    locale: 'cn',
    messages: messages
})
locale.i18n((key, value) =>
        i18n.t(key, value)
    )
export default i18n
